TSTOOL home page | TSTOOL documentation page | TSTOOL link page |
TSTOOL stores one-dimensional signals always as row vectors. Giving a column vector will cause unexpected behaviour with most routines that process signals:
>> s = signal(sin(0:0.5:100)) s = signal object Dlens : 1 201 X-Axis 1 : | X-Axis 2 : | Name : Type : Attributes of data values : | Comment : History : 16-Aug-1999 19:15:01 : Imported from MATLAB workspace
Instead, a row vector must be given to create the desired one-dimensional signal:
>> s = signal(sin(0:0.5:100)') s = signal object Dlens : 201 X-Axis 1 : | Name : Type : Attributes of data values : | Comment : History : 16-Aug-1999 19:16:58 : Imported from MATLAB workspace